const Router = require('koa-router');
const { default: axios } = require('axios');
var hotSearchRouter = new Router({ prefix: "/hotsearch" });
hotSearchRouter.get('/', async (ctx, next) => {
  const res = await axios.get("http://openbox.mobilem.360.cn/html/api/wallpaperhot.html")
  ctx.body = res.data;
  await next();
})
module.exports = hotSearchRouter

